package com.xiaoyu.context;

import com.xiaoyu.beans.BeansException;
import com.xiaoyu.beans.factory.Aware;

/**
 * 实现该接口的Bean, 能够感知其所属的ApplicationContext
 */
public interface ApplicationContextAware extends Aware {
    void setApplicationContext(ApplicationContext applicationContext) throws BeansException;
}
